﻿using PropertyConfigModule.ViewModels;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace PropertyConfigModule.Views
{
    /// <summary>
    /// PropertyConfigView.xaml 的交互逻辑
    /// </summary>
    public partial class PropertyConfigView : UserControl
    {
        public PropertyConfigView()
        {
            InitializeComponent();
            // 调试信息
            // 立即检查
            Debug.WriteLine($"构造函数 DataContext: {DataContext?.GetType().Name ?? "null"}");

            // 加载后检查
            Loaded += (s, e) =>
            {
                Debug.WriteLine($"加载后 DataContext: {DataContext?.GetType().Name ?? "null"}");
            };
        }


     
    }
}
